//
//  InputAccessoryBar.h
//  WeKissed
//
//  Created by luo danal on 8/7/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface InputAccessoryBar : UIToolbar {
    void (^_doneBlock)(id);
}
@property (retain, nonatomic) NSArray *inputFields;
@property (assign, nonatomic) id rootController;

- (void)setDoneBlock:(void (^)(id))block;
- (void)addField:(UIControl *)aField tag:(NSInteger)tag;
- (void)removeFieldWithTag:(NSInteger)tag;
- (void)removeAllFields;

- (IBAction)prev:(id)sender;
- (IBAction)next:(id)sender;
- (IBAction)done:(id)sender;
@end

